﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Data.SqlClient;
using System.Runtime.Serialization;

//needed or not, who knows?
//using System.ServiceModel;
//using System.ServiceModel.Web;

namespace DataService.Model
{   
    [DataContract]
    public class Client
    {
        [DataMember]
        private string _clientName;
        public string ClientName 
        {
            get 
            {
                return _clientName;
            }
            set 
            {
                _clientName = value;
            }
        }//end client name field

        [DataMember]
        private string _clientAddress;
        public string ClientAddress
        {
            get
            {
                return _clientAddress;
            }
            set
            {
                _clientAddress = value;
            }
        }//end client address field

        [DataMember]
        private string _phoneNum;
        public string ClientPhone
        {
            get
            {
                return _phoneNum;
            }
            set
            {
                _phoneNum = value;
            }
        }//end client phone field

        [DataMember]
        private string _price;//stored as money in DB, may need changed I dont know
        public string Price
        {
            get
            {
                return _price;
            }
            set
            {
                _price = value;
            }
        }//end client price field

        [DataMember]
        private string _addInfo;
        public string AddInfo
        {
            get
            {
                return _addInfo;
            }
            set
            {
                _addInfo = value;
            }
        }//end additional information field

        [DataMember]
        private int _pkID;
        public int PkID 
        {
            get
            {
                return _pkID;
            }
            set { _pkID = PkID; }
        }//ID for client, Can't "set" from client, Can't used for inserts, I think this is right?

        //constructor for user with properties
        //TODO figure this out
        public Client(string ClientName, string ClientAddress, string ClientPhone, string Price, string AddInfo)
        {
            //Do shit in here to create user?
          
        }    

        //no args constructor for "new" statement
        public Client()
        {
            Client client = new Client();
            // TODO: Complete member initialization
        }
    }
}
